package com.itheima.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
//设置一级url
@RequestMapping("/param")
public class ParamController {
    //设置二级url
    @RequestMapping("/test1")
    public String test1(String name , int age){
        System.out.println("namme:"+name);
        System.out.println(age==18);
        return "success";
    }
}
